<#include "../common/layout.ftl"/>
<@layout>
<div class="well">
	<span class="label label-success">修改用户密码</span>
	<form id="form1" class="well form-horizontal" action="../updatePWD"  method="post">
      <div class="control-group">
        <label class="control-label" for="focusedInput">用户名：</label>
        <div class="controls" >
          ${sysUser.user_name}
        </div>
      </div>
       <div class="control-group">
        <label class="control-label" for="focusedInput">新密码：</label>
        <div class="controls" >
          <input class="input-xlarge focused" name="password" id="password" type="text"  style="height: 26" >
          <input name="id"  type="hidden" value="${sysUser.id}" >
        </div>
      </div>
      <div class="form-actions">
        <button type="submit" class="btn btn-primary" onsubmit="save()">确 定</button>
        <button type="reset" class="btn">重 置</button>
        <button type="button" class="btn btn-info" onclick="javascript:history.back();">返回</button>
      </div>
  </form>
  </div>

<script>
	$(function() { 
     $("#form1").validity(function() {
         $("#password").require();
     });
     
 }); 
</script>
</@layout>